package com.tlgen.mapper;

import com.tlgen.model.Enlist;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: tlgen
 * @Discription:
 */
public interface EnlistMapper {

    Long getTotal(@Param("en") Enlist enlist);

    int deleteByPrimaryKey(Integer id);

    int insertSelective(Enlist enlist);

    int updateByPrimaryKeySelective(Enlist enlist);

    List<Enlist> getEnlistByPage(@Param("page") Integer page, @Param("size") Integer size, @Param("en") Enlist enlist);

    Integer addEnlists(@Param("list") List<Enlist> list);
}
